/* 覆写 layer tips */
.layui-layer-tips > .layui-layer-content{
    white-space: normal;
    word-break: break-all; /*支持IE，chrome，FF不支持*/
    word-wrap: break-word; /*支持IE，chrome，FF*/
}
body, html, div, blockquote, img, label, p, h1, h2, h3, h4, h5, h6, pre, ul, ol, li, dl, dt, dd, form, a, fieldset, button, input, select, textarea, th, td, span{
    margin: 0; padding: 0;
    border: 0; /* outline: none;*/
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}
body, button, input, select, textarea{
    font: 14px/1.5 "\5FAE\8F6F\96C5\9ED1", arial, verdana, sans-serif;
    color: #000;
}
ul, ol{ list-style: none; }
table{ border-collapse: collapse; }
a{ color: #0e81fe; text-decoration: none; }
.nowrap{ /*禁止换行*/
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis; /* 省略号 */
    word-break: normal; /* 防止被父级 wordwrap 样式影响 */
    word-wrap: normal;
}
.wordwrap{ /*强制换行*/
    white-space: normal;
    word-break: break-all; /*支持IE，chrome，FF不支持*/
    word-wrap: break-word; /*支持IE，chrome，FF*/
}
.noselect{ /*禁止选中*/
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.clearf{ overflow: hidden; }
.clearf:after{ content: " "; display: block; height: 0; clear: both }
/* fontawesome 设置行高为继承 */
.fa{ line-height: inherit; }

/* 单选、多选按钮 */
.radio-lab{ margin-left: 5px; }
.radio-lab:first-child{ margin-left: 0; }
.radio-lab > input{
    position: relative;
    top: -1px;
    margin-right: 3px;
    vertical-align: middle;
}
/* 文本框 */
.txt{
    width: 153px;
    height: 30px;
    line-height: 28px;
    background-color: #fff;
    border: 1px solid #dadee9;
    padding: 0 5px;
    border-radius: 2px;
    vertical-align: middle;
}
select.txt{ padding: 4px 3px; }
.txt-min{
    height: 23px;
    line-height: 21px;
}
select.txt-min{ padding: 0 3px; }
textarea.txt,
textarea.txt-min{ height: auto; line-height: 1.5; }
textarea.txt{ padding: 3px 5px 4px; }
textarea.txt-min{ padding: 0 5px; }
.txt[disabled],
.txt.disabled{
    cursor: not-allowed;
    background-color: #ebebe4;
}
.btn{
    height: 30px;
    line-height: 28px;
    padding: 0 15px;
    display: inline-block;
    font-size: 12px;
    border: solid 1px #3a9acd;
    border-radius: 2px;
    background: #3a9acd;
    color: #fff;
    vertical-align: middle;
    cursor: pointer;
    text-align: center;
}
.btn-min{
    height: 23px;
    line-height: 21px;
    padding: 0 10px;
}
.btn > .fa{
    width: 1.5em;
    text-align: left;
}
.btn:hover{
    color: #fff;
    background-color: #31b0d5;
    border-color: #269abc;
}
.btn-default{
    color: inherit;
    background-color: #fff;
    border-color: #d3d3d3;
}
.btn-default:hover{
    color: #333;
    background-color: #e6e6e6;
    border-color: #adadad;
}
.btn-success{
    color: #fff;
    background-color: #2ea968;
    border-color: #2ea968;
}
.btn-success:hover{
    color: #fff;
    background-color: #28935a;
    border-color: #28935a;
}
.btn-warn{
    color: #fff;
    background-color: #ffce55;
    border-color: #ffce55;
}
.btn-warn:hover{
    color: #fff;
    background-color: #ffb148;
    border-color: #ffb148;
}
.btn-danger{
    color: #fff;
    background-color: #d95858;
    border-color: #d95858;
}
.btn-danger:hover{
    color: #fff;
    background-color: #c9302c;
    border-color: #c9302c;
}
.btn-trans,
.btn-trans:hover{
    background: none;
    border-color: transparent;
    color: inherit;
    outline: none;
}
.btn[disabled],
.btn.disabled{
    background-color: #ebebe4;
    color: #ccc;
    border-color: #ccc;
    cursor: not-allowed;
}
.iptgroup{
    display: table;
    border-collapse: collapse; /* 文本框与按钮相邻时，按钮比文本框多 1px，需改为 separate */
    width: 153px;
}
.iptgroup-main{
    display: table-cell;
    width: 100%;
}
.iptgroup-main > .txt{ width: 100%; }
.iptgroup-addon{
    display: table-cell;
    width: 1%;
    white-space: nowrap;
    vertical-align: middle;
}
.iptgroup-addon.iptgroup-text{ padding: 0 5px; }
/* txtpos */
.txtpos{
    position: relative;
    display: inline-block;
    width: 153px;
}
.txtpos > .txt{ width: 100%; }
.txtpos-in{
    position: absolute;
    top: 0;
    bottom: 0;
    display: block;
    width: 30px;
    line-height: 28px;
    text-align: center;
}
.txtpos-styl > .txtpos-in{ left: 0; }
.txtpos-styl > .txt{ padding-left: 30px; }
.txtpos-styr > .txtpos-in{ right: 0; }
.txtpos-styr > .txt{ padding-right: 30px; }
.txt-min + .txtpos-in{ line-height: 21px; }
/* detailtable */
.detailtable{
    width: 98%;
    table-layout: fixed;
    white-space: normal;
    word-break: break-all; /*支持IE，chrome，FF不支持*/
    word-wrap: break-word; /*支持IE，chrome，FF*/
}
.detailtable.hasRig{ width: 100%; }
.detailtable > * > tr > th,
.detailtable > * > tr > td{
    text-align: left;
    font-weight: normal;
    color: #3c3c3c;
    padding: 5px;
}
.detailtable > * > tr > th{ text-align: right; }
.detailtable > * > tr > th.left,
.detailtable > * > tr > td.left{ text-align: left; }
.detailtable > * > tr > th.center,
.detailtable > * > tr > td.center{ text-align: center; }
.detailtable > * > tr > th.right,
.detailtable > * > tr > td.right{ text-align: right; }
.detailtable > * > tr > .detailT{ font-weight: bold; }
.detailtable > * > tr > * > .txt,
.detailtable > * > tr > * > .txtpos,
.detailtable > * > tr > * > .iptgroup{ width: 100%; }